<template>
  <div>
    <figure>
      <img src="../assets/head.jpg" class="avator-image" />
      <figcaption>{{userName}}</figcaption>
    </figure>
  </div>
</template>

<script>
export default {
  name: 'FigureImage',
  data() {
    return {
      userName: 'alvin liu'
    }
  }
}
</script>

<style lang="scss">
.avator-image{
  width: 50px;
  height: 50px;
  border-radius: 25px;
}
</style>